﻿using System;
using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;

namespace H2.NET.Business.Core
{
    [Serializable]
    public partial class t_mdc_Permission : DataObject
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public string Title { get; set; }

        public string Url { get; set; }

        /// <summary>
        /// 1.一级菜单
        /// 2.二级菜单
        /// 3.按钮
        /// </summary>
        public int Layer { get; set; }

        public string RelCode { get; set; }

        public string Module { get; set; }

        public string Class { get; set; }

        public int? Order { get; set; }

        public int? ParentID { get; set; }

        public string OpenMode { get; set; }
    }
}
